//
//  UIStoryboard+Extention.m
//  GouTong
//
//  Created by Wangchengshan on 15/10/7.
//  Copyright (c) 2015年 Wangchengshan. All rights reserved.
//

#import "UIStoryboard+Extention.h"

@implementation UIStoryboard (Extention)

+ (UIViewController *)storyBoardName:(NSString *)name identifier:(NSString *)identifier
{
   return [[self storyboardWithName:name bundle:nil]instantiateViewControllerWithIdentifier:identifier];
}

+ (UIViewController *)storyBoardWithName:(NSString *)name
{
    return [[self storyboardWithName:name bundle:nil] instantiateInitialViewController];
}
@end
